﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LeftMenu_Tools.aspx.cs" Inherits="Whir_System_UserControls_Common_LeftMenu_Tools" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Skin/Default/Css/css2.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        if (top.location == self.location) { 
            top.location='Default.aspx';
        } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <whir:Menu ID="Menu1" runat="server" MenuFileName="toolsMenu.config" />
    </form>
</body>
</html>

<script language="javascript" type="text/javascript">
    var url = window.parent.location.href;
    var link = document.getElementsByName("link");
  
    
   function setTab(name,cursel,n){ 
        for(i=1;i<=n;i++){ 
            var menu=document.getElementById(name+i); 
            var con=document.getElementById("con_"+name+"_"+i); 
            if(menu)
            {
                if(cursel == i){
                    menu.className="a1";
                    con.style.display = "block";
                }else{
                    menu.className="a2"; 
                    con.style.display = "none"; 
                }
            }
        }
    }    

</script>

